package com.py.framework.entity;

import java.util.List;

import com.py.framework.core.entity.BaseEntity;

/**
 * 系统消息实体
 * @author Leegern
 * @date   2018年4月24日
 */
public class SysMsgEntity extends BaseEntity {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 7091084611205101223L;
	
	/** 标题 **/
	private String msgTitle;
	/** 内容 **/
	private String msgContent;
	/** 发件人ID **/
	private long sendId;
	/** 消息类型，1：系统消息，2：任务提醒，3：数据催收，4：联合奖惩  **/
	private int msgType;
	
	/** 消息类型，1：系统消息，2：任务提醒，3：数据催收  **/
	private String msgTypeS;
	
	/** 链接地址 **/
	private String linkUrl;
	/** 发件人姓名 **/
	private String sendName;
	/** 消息状态，1：未读，2：已读  **/
	private int msgStatus;
	/** 业务扩展 **/
	private String busExt;
	
	/** 消息详情 **/
	private List<MsgDetailEntity> details;
	/** 消息记录Id **/
	private long recordId;
	/** 已读数 */
	private int readNum;
	/**
	 * 接收人员数量
	 */
	private int allNum;
	
	/**
	 * @return the msgTitle
	 */
	public String getMsgTitle() {
		return msgTitle;
	}
	/**
	 * @param msgTitle the msgTitle to set
	 */
	public void setMsgTitle(String msgTitle) {
		this.msgTitle = msgTitle;
	}
	/**
	 * @return the msgContent
	 */
	public String getMsgContent() {
		return msgContent;
	}
	/**
	 * @param msgContent the msgContent to set
	 */
	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}
	/**
	 * @return the sendId
	 */
	public long getSendId() {
		return sendId;
	}
	/**
	 * @param sendId the sendId to set
	 */
	public void setSendId(long sendId) {
		this.sendId = sendId;
	}
	/**
	 * @return the sendName
	 */
	public String getSendName() {
		return sendName;
	}
	/**
	 * @param sendName the sendName to set
	 */
	public void setSendName(String sendName) {
		this.sendName = sendName;
	}
	/**
	 * @return the details
	 */
	public List<MsgDetailEntity> getDetails() {
		return details;
	}
	/**
	 * @param details the details to set
	 */
	public void setDetails(List<MsgDetailEntity> details) {
		this.details = details;
	}
	/**
	 * @return the msgType
	 */
	public int getMsgType() {
		return msgType;
	}
	/**
	 * @param msgType the msgType to set
	 */
	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}
	/**
	 * @return the linkUrl
	 */
	public String getLinkUrl() {
		return linkUrl;
	}
	/**
	 * @param linkUrl the linkUrl to set
	 */
	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}
	/**
	 * @return the msgStatus
	 */
	public int getMsgStatus() {
		return msgStatus;
	}
	/**
	 * @param msgStatus the msgStatus to set
	 */
	public void setMsgStatus(int msgStatus) {
		this.msgStatus = msgStatus;
	}
	/**
	 * @return the recordId
	 */
	public long getRecordId() {
		return recordId;
	}
	/**
	 * @param recordId the recordId to set
	 */
	public void setRecordId(long recordId) {
		this.recordId = recordId;
	}
	/**
	 * @return the busExt
	 */
	public String getBusExt() {
		return busExt;
	}
	/**
	 * @param busExt the busExt to set
	 */
	public void setBusExt(String busExt) {
		this.busExt = busExt;
	}

	/**
	 * @return the readNum
	 */
	public int getReadNum() {
		return readNum;
	}

	/**
	 * @param readNum
	 *            the readNum to set
	 */
	public void setReadNum(int readNum) {
		this.readNum = readNum;
	}

	/**
	 * @return the allNum
	 */
	public int getAllNum() {
		return allNum;
	}

	/**
	 * @param allNum
	 *            the allNum to set
	 */
	public void setAllNum(int allNum) {
		this.allNum = allNum;
	}
	public String getMsgTypeS() {
		return msgTypeS;
	}
	public void setMsgTypeS(String msgTypeS) {
		this.msgTypeS = msgTypeS;
	}
}